package xyz.hubery.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import xyz.hubery.dto.UserBankDTO;

@FeignClient(name = "member-service", contextId = "UserBankServiceFeign",configuration = OAuthFeignConfig.class, path = "/userBanks")
public interface UserBankServiceFeign {


    @GetMapping("/info")
    UserBankDTO getCurrentUserInfo();
}
